package com.it.service.impl;

import com.it.mapper.MyDataMapper;
import com.it.pojo.MyData;
import com.it.service.ProfileService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ProfileServiceImpl implements ProfileService {
    @Resource
    MyDataMapper myDataMapper;
    @Override
    public MyData selectByPrimaryKey(Long id) {
        return myDataMapper.selectByPrimaryKey(id);
    }

    @Override
    public int insertSelective(MyData record) {
        return myDataMapper.insertSelective(record);
    }
}
